package sample.app.theme.pink;

import com.rapid.api.framework.common.theme.base.BaseAppTheme;
import com.rapid.api.framework.common.theme.style.InputViewSetter;
import com.rapid.api.framework.common.theme.style.ItemViewSetter;
import com.rapid.api.framework.common.theme.style.PageViewSetter;
import com.rapid.api.framework.common.theme.style.ToolViewSetter;

public class PinkTheme extends BaseAppTheme {
    public final static String ID = "pink";
    public final static String NAME = "粉色主题";

    public final static int colorPrimary = 0XFFF4C2C2;
    public final static int colorOnPrimary = 0XFFFFFFFF;
    public final static int white = 0XFFFFFFFF;

    private PageViewSetter pageViewSetter = new PinkPageViewSetter();
    private ItemViewSetter itemViewSetter = new PinkItemViewSetter();
    private ToolViewSetter toolViewSetter = new PinkToolViewSetter();
    private InputViewSetter inputViewSetter = new PinkInputViewSetter();

    public PinkTheme() {
        putColor(COLOR_PRIMARY, colorPrimary);
        putColor(COLOR_ON_PRIMARY, colorOnPrimary);
        putColor(COLOR_PRIMARY_DARK, colorPrimary);
        putColor(COLOR_STATUS_BAR, colorPrimary);
    }

    @Override
    public String getId() {
        return ID;
    }

    @Override
    public String getName() {
        return NAME;
    }

    @Override
    public boolean isDarkTheme() {
        return false;
    }

    @Override
    public boolean isDarkStatusBar() {
        return false;
    }

    @Override
    public PageViewSetter getPageViewSetter() {
        return pageViewSetter;
    }

    @Override
    public ItemViewSetter getItemViewSetter() {
        return itemViewSetter;
    }

    @Override
    public ToolViewSetter getToolViewSetter() {
        return toolViewSetter;
    }

    @Override
    public InputViewSetter getInputViewSetter() {
        return inputViewSetter;
    }
}
